package com.ojoin.trade.supplyloan_core.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.common.web.service.impl.BaseServiceImpl;
import com.ojoin.trade.supplyloan_core.web.dao.TbSlCreditInfoDao;
import com.ojoin.trade.supplyloan_core.web.dao.TbSlPlatformUserDao;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlCreditInfo;
import com.ojoin.trade.supplyloan_core.web.service.TbSlCreditInfoService;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 16-1-8
 * Time: 下午5:31
 * To change this template use File | Settings | File Templates.
 */
@Service
public class TbSlCreditInfoServiceImpl extends BaseServiceImpl<TbSlCreditInfo> implements TbSlCreditInfoService {

    @Autowired
    private TbSlCreditInfoDao dao;
    @Override
    protected BaseDao<TbSlCreditInfo> getBaseDao() {
        return dao;  
    }
	@Override
	public void deleteCreditInfo(int joinuserid, int id_of_platform_user)
			throws BusinessException {
		((TbSlCreditInfoDao)this.getBaseDao()).deleteCreditInfo(joinuserid, id_of_platform_user);
	}

}
